SERVER_PORT = 8080
API_DEBUG = True
WELCOME = "您好, 我是agno智能体, 有什么可以帮您?"
KNOWLEDGE_BASE_DIR = "/data/ficc"
ALI_GENERATION_MODEL="deepseek-v3" #"qwen3-max : 258048 " #"qwen-plus" #"qwen3-235b"   deepseek-v3: 131072
ALI_THINK_MODEL="deepseek-r1"
ALI_DASHSCOPE_API_KEY= 'sk-3aafbe7655c444f6a4a5f46cf3d03c6d' #sk-77236aa8dcd44a8b8e699628c1058c5e
ALI_TEMPERATURE=0
AGENT_URL='https://dashscope.aliyuncs.com/compatible-mode/v1'
REMOTE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
# DB_HOST = "10.100.5.29"
# DB_PORT = 30082
# DB_DATABASE = "ficc-langchain"
# DB_USER = 'developer'
# DB_PASSWD = "jgyw123"
MYSQL_HOST = "10.10.1.8"
MYSQL_PORT = "30306"
MYSQL_DB = "poster_review_test"
MYSQL_USER = "root"
MYSQL_PASSWORD = "lionfund123456"
MYSQL_DATABASE_URL = f"mysql+pymysql://{MYSQL_USER}:{MYSQL_PASSWORD}@{MYSQL_HOST}:{MYSQL_PORT}/{MYSQL_DB}"

# 配置参数
UPLOAD_FOLDER = 'temp_uploads'
OUTPUT_FOLDER = 'output_images'
ALLOWED_EXTENSIONS = {'pdf', 'docx', 'doc', 'txt'}
MAX_CONTENT_LENGTH = 50 * 1024 * 1024  # 限制50MB
MAX_FILES_PER_REQUEST = 10